package com.example.crawler.excel.pojo;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.example.crawler.excel.annotation.Cell;
import com.example.crawler.excel.annotation.Excel;
import lombok.Data;
import lombok.EqualsAndHashCode;

@Excel(beginRow=1,dataHeader="企业代码:1,企业名称:2,申请日期:3")
@Data
@EqualsAndHashCode(callSuper = false)
public class NasdqCompany {
    @Cell(columnNum="1")
    @ExcelProperty("企业代码")
    @ColumnWidth(20)
    private String companyCode;

    @Cell(columnNum="2")
    @ExcelProperty("企业名称")
    @ColumnWidth(60)
    private String name;

    @Cell(columnNum="3")
    @ExcelProperty("申请日期")
    @ColumnWidth(60)
    private String date;

}
